import React from 'react'
import { hocTable } from '@/hoc'

const columns = [
    {
        title: 'ID',
        dataIndex: 'vid',
        key: 'vid'
    },
    {
        title: '发送人',
        dataIndex: 'to_name',
        key: 'to_name',
    },
    {
        title: '消息',
        dataIndex: 'message',
        key: 'message',
    },
    {
        title: '接收人',
        dataIndex: 'from_name',
        key: 'from_name',
    },
    {
        title: '创建时间',
        dataIndex: 'create_time',
        key: 'create_time',
    },
];

const chat = ()=> {
    return (
        <div>
            
        </div>
    )
}

export default hocTable(chat, true, "/getMessage", columns)
